package homework.clazz.Demo5;

abstract class Shape {
protected String name;
public Shape(String xm) {
    name = xm;
    System.out.print("名称：" + name);
}
abstract public double getArea();
 abstract public double getLength();//抽象方法
}
